<template>
  <div class="my-title-box">
    <div class="title">{{title}}</div>
  </div>
</template>

<script>
export default {
  components: {},
  name: 'CompanyDetail',
  props: {
    title: {
      type: String,
      default: '文案标题',
    },
  },
  data() {
    return {}
  },
  methods: {},
  mounted() {},
}
</script>

<style lang='scss'>
@import '@/assets/css/base';

.my-title-box {
  margin-bottom: px2rem(40);
  .title {
    margin-top: px2rem(50);
    margin-bottom: px2rem(38);
    color: #404040;
    // @include bgImg(100%, px2rem(54), '../assets/img/company/line.png');
    background-position: left bottom;
    line-height: px2rem(54);
    font-size: px2rem(38);
    font-weight: bold;
    position: relative;
    padding-left: px2rem(20);
    &::after {
      position: absolute;
      content: '';
      left: 0;
      background: #0050a5;
      width: px2rem(8);
      height: px2rem(32);
      top: 50%;
      margin-top: px2rem(-16);
    }
  }
  & > p {
    color: #000000;
    line-height: px2rem(40);
    margin-bottom: px2rem(20);
  }
}
</style>
